
import request from '/@/utils/request';

export function getRankList(params: any, str0: string) {
  return request({
    url: `/admin/ranking/${str0}`,
      method: 'get', 
      params
  })
}
export function getPowerSubitem() {
  return request({
    url: '/admin/dict/type/energy_type',
    method: 'get', 
  })
} 
export function deptConfigData(query,str0) {
  return request({
    url: `/bum/${str0}/tree?energyType=` + query,
    method: 'get'
  })
}